<cfif event.isArgDefined('category')>
	<cfinclude template="#event.getArg('archiveType')#/cat_#event.getArg('category')#.html"/>
<cfelseif event.isArgDefined('month')>
	<cfif event.getArg('archiveType') is 'past'>
		<!--- month is YYYY_MM --->
		<cfset yyyy = listFirst(event.getArg('month'),'_') />
		<cfset mm = listRest(event.getArg('month'),'_') />
		<cfheader statuscode="301" statustext="Moved permanently" />
		<cfheader name="Location" value="http://www.corfield.org/blog/index.cfm?do=blog.month&month=#mm#&year=#yyyy#" />
	<cfelse>
		<cfinclude template="archives/#event.getArg('month')#.html"/>
	</cfif>
<cfelse>
	<cfinclude template="archives.html"/>
</cfif>
